package cn.junechiu.learnrxjava.net;

import cn.junechiu.learnrxjava.bean.GitUser;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by junzhao on 2017/7/18.
 */

public interface Api {

    interface GithubSevice {
        @GET("users/{username}")
        Observable<GitUser> getUser(@Path("username") String username);
    }

}
